{extend name="template/base" /}
{block name="content"}
<style>
    #no-permisstion-wrapper{
        background-image: url('/upload/role/no-permission-bg.png');
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        background-size:cover;
    }
    #wrapper{
        min-width:500px;
        with:100%;height:100%;
        background-image: url('/upload/role/no-permission-bg.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
</style>
<div class="page-container" id="no-permisstion-wrapper">
        <div style="margin:10% auto 0;text-align: center;width:62.7%;height:17.7%;position:relative;top:10%;">
            <img src="/upload/role/no-permission.png" width="100%"  height="100%">
        </div>
        <div style="margin-top:10%;text-align: center;font-size:14px;">抱歉，你没有权限；如有需要，请联系管理员开通！</div>
</div>
{/block}
{block name="script"}


<!--时间插件-->
<script type="text/javascript" src="__LIB__/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="__LIB__/template/template.js"></script>
<script>
    function agree(id) {
        $.ajax({
            type: 'POST',
            url: "/admin/order/get_route_id?id=" + id,
            data: null,
            success: function (re) {
                layer.msg(re.msg, {
                    time: 2000, //2s后自动关闭
                });
            },
        });
    }

    function add() {

        html = template(document.getElementById('td').innerHTML, {});
        $("#tbody").append(html);
    }

    function deltd(ele) {
        $(ele).parent().parent().remove();
    }

    $(function () {
        $("[name='order_status'][value='{$vo.order_status ?? 'pay_for'}']").attr("checked", true);
        $("[name='refund_status'][value='{$vo.refund_status ?? ''}']").attr("checked", true);
        $("[name='isrefund'][value='{$vo.isrefund ?? '0'}']").attr("checked", true);
        $("[name='platform'][value='{$vo.platform ?? 'manually'}']").attr("checked", true);

        $("[name='route_id']").find("[value='{$vo.route_id}']").attr("selected", true);

        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });

        $("#form").Validform({
            tiptype: 2,
            ajaxPost: true,
            showAllError: true,
            callback: function (ret) {
                ajax_progress(ret);
            }
        });
    })
</script>

<script type="text/javascript">


</script>
{/block}
